﻿using System.Text.Json.Serialization;

namespace LiveHub.DataModels;

[Serializable]
public class UserModel
{
    public string UserName { get; init; } = "";
    
    public string UserId { get; init; } = "";

    public string Gender { get; init; } = "";
    public string ClassName { get; init; } = "";
    public string PhoneNum { get; init; } = "";

    [JsonIgnore] public List<GroupModel> Groups { get; set; } = [];
    [JsonIgnore] public List<MessageModel> Messages { get; set; } = [];
}